<template>
  <div>{{name}}:{{this.Global.age}}
    
  </div>
  

</template>

<script>
export default {
        data(){
          return{
            name:this.Global.name,
            age:20,
            
          }
        },
      
        created(){
          this.Global.setAge(this.age);
          console.log(this.Global.age);
        }
        

}
</script>

<style>

</style>